<?php

class Sgit_Acl_Assert_Check implements Zend_Acl_Assert_Interface
{
        
        public function __construct($checkAcceso=null){
            
            $this->checkAcceso=$checkAcceso;
            
            
        }
    
        public function assert(Zend_Acl $acl,
                               Zend_Acl_Role_Interface $role = null,
                               Zend_Acl_Resource_Interface $resource = null,
                               $privilege = null)
        {
            
            if(!$this->checkAcceso){
                return true;
            }

            return false;
            
   }
     
       
}